
* {
    padding: 0;
    margin: 0;
}

.wrapper {
    width: 900px;
    height: 900px;
    margin: 0px auto 0;
    position: relative;
  
}
.wrapper::after {
    position: absolute;
    content: '';
    width: 50%;
    height: 5px;
    background-color: #ff0000;
    left: 50%;
    top: calc(50% + 20px);

}
.year, .month, .day, .week, .hour, .minute, .second {
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 0.2s linear;
    transform-origin: 0 0;
    line-height: 20px;
    height: 20px;
    font-weight: bolder;

}
.year {
    /* width: 100px; */
    color: #e54d42;
}
.month {
    width: 100px;
    color: #f37b1d;
}
.day {
    width: 150px;
    color: #39b54a;
}
.week {
    color: #0081ff;
    width: 220px;
}
.hour {
    width: 270px;
    color: #6739b6;
}
.minute {
    color: #9c26b0;
    width: 320px;
}
.second{
    color: #e03997;
    width: 370px;
}
span {
    position: absolute;
    right: 0;
    width: 100%;
    text-align: right;
    transform-origin: 0 0;
    transition: all 1s linear;
}
.month span {
    transition-duration: 1s;
}
.day span {
    transition-duration: 1s;
}
.week span {
    transition-duration: 0.5s;
}
.hour span {
    transition-duration: 1s;
}
.minute span {
    transition-duration: 1s;
}
.second span {
    transition-duration: 1s;
}